<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class AdminPermission extends Model
{
    //
    public function getPermission(){
        $data=$this->select();
        return  json([
                'code'=>20000,
                'data'=>$data
            ]);
    }

 
}
